package com.flurry.sdk;

import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;

public class ji {
    private static final String d = ji.class.getSimpleName();
    /* access modifiers changed from: package-private */
    public boolean a;
    /* access modifiers changed from: package-private */
    public long b;
    /* access modifiers changed from: package-private */
    public final List<jf> c = new ArrayList();

    public static class a implements lg<ji> {
        public final /* synthetic */ Object a(InputStream inputStream) throws IOException {
            if (inputStream == null) {
                return null;
            }
            AnonymousClass1 r1 = new DataInputStream(inputStream) {
                public final void close() {
                }
            };
            ji jiVar = new ji();
            r1.readUTF();
            r1.readUTF();
            boolean unused = jiVar.a = r1.readBoolean();
            long unused2 = jiVar.b = r1.readLong();
            while (true) {
                int readUnsignedShort = r1.readUnsignedShort();
                if (readUnsignedShort == 0) {
                    return jiVar;
                }
                byte[] bArr = new byte[readUnsignedShort];
                r1.readFully(bArr);
                jiVar.c.add(0, new jf(bArr));
            }
        }

        public final /* synthetic */ void a(OutputStream outputStream, Object obj) throws IOException {
            throw new UnsupportedOperationException("Serialization not supported");
        }
    }
}
